package com.gy.bearhelps.util;


import com.gy.bearhelps.R;
import com.gy.bearhelps.handle.HandleHomeFragment;
import com.gy.bearhelps.help.HelpHomeFragment;
import com.gy.bearhelps.home.HomeFragment;
import com.gy.bearhelps.news.NewsHomeFragment;
import com.gy.bearhelps.science.ScienceHomeFragment;

/**
 * Created by 高岳 on 2016/7/4.
 * Describe:tabhost 枚举类
 */
public enum MainTabEnum {

    HOME(NewsHomeFragment.class,"新闻", R.drawable.tab_news),
    HAILIAO(HandleHomeFragment.class,"办理",R.drawable.tab_handle),
    YOUPIN(HomeFragment.class,"首页",R.drawable.tab_home),
    SHOPCAR(ScienceHomeFragment.class,"科普",R.drawable.tab_science),
    MINE(HelpHomeFragment.class,"黄页",R.drawable.tab_help);

    public Class mClass;
    public String name;
    public int imgId;

    MainTabEnum(Class mClass, String name, int imgId) {
        this.mClass = mClass;
        this.name = name;
        this.imgId = imgId;
    }


}
